package edu.guet.simplefactory;

public class Main {

    public static void main(String[] args) {
        Operation  operation = OperationFactory.createOperation("+");

        operation.setDoubleNumberA(10.1);
        operation.setDoubleNumberB(1.4);

        Double result = operation.getResult();

        System.out.println(result);
    }
}
